package cn.com.ejiakanghu.dto.extractInfo;

import org.linlinjava.litemall.db.domain.AgedmallStore;

import java.math.BigDecimal;

/**
 * @author wj
 * @date 2022/1/21 19:59
 */
public class StoreInfo {

    private Integer id;
    private String name;
    private String province;
    private String city;
    private String village;
    private String userName;
    private String phone;
    private String address;
    private String detail;
    private String businessTime;
    private BigDecimal lng;
    private BigDecimal lat;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public StoreInfo(Integer id, String name, String province, String city, String village, String userName, String phone, String address, String detail, String businessTime, BigDecimal lng, BigDecimal lat) {
        this.id = id;
        this.name = name;
        this.province = province;
        this.city = city;
        this.village = village;
        this.userName = userName;
        this.phone = phone;
        this.address = address;
        this.detail = detail;
        this.businessTime = businessTime;
        this.lng = lng;
        this.lat = lat;
    }


    public StoreInfo(AgedmallStore store) {
        this.id = store.getId().intValue();
        this.name = store.getStoreName();
        this.province = store.getProvinceName();
        this.city = store.getCityName();
        this.village = store.getAreaName();
        this.userName = store.getUserName();
        this.phone = store.getPhone();
        this.address = store.getAddressDetail();
        this.businessTime = store.getBusinessTime();
        this.lng = store.getLng();
        this.lat = store.getLat();
    }

    public StoreInfo() {
    }
}
